/*
package com.dailyblue.java.project.smbms.public1.controller;

import com.dailyblue.java.project.smbms.users.controller.UsersController;
import com.dailyblue.java.spring.project.smbms.commons.bean.Users;
import com.dailyblue.java.spring.project.smbms.commons.config.JsonResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@RestController
@RequestMapping("/users")
public class UsersProxyController {
    @Resource
    private UsersController usersController;

    @PostMapping("/login")
    public JsonResult<String> login(Users user) {
        return usersController.login(user);
    }

    @GetMapping("/is")
    public JsonResult<String> is(HttpServletRequest request) {
        return usersController.a(request);
    }
}
*/
